package isssr.dao.src;

import java.util.List;
import java.util.Map;

import isssr.dao.exception.DAOException;
import isssr.entity.src.Role;

public interface RoleDAO {

	public void insert(Role role) throws DAOException;
	public void update(Role role) throws DAOException;
	public void delete(Role role) throws DAOException;
	public List<Role> getAll() throws DAOException;
	public List<Role> getAll(Map<String, Object> filters, Integer firstResult, Integer pageSize) throws DAOException;
	public Role getByTitle(String title) throws DAOException;
	
}
